2000W / 48V LLC Battery-Charger  V1.00
XMC_VADC_SCAN_CONFIG Struct Reference

#include <xmc_vadc.h>

Public Attributes

uint32_t conv_start_mode: 2
 
uint32_t req_src_priority: 2
 
union {
   struct {
      uint32_t   __pad0__: 4
 
      uint32_t   __pad1__: 4
 
      uint32_t   trigger_signal: 4
 
      uint32_t   __pad2__: 1
 
      uint32_t   trigger_edge: 2
 
      uint32_t   __pad3__: 1
 
      uint32_t   gate_signal: 4
 
      uint32_t   __pad4__: 8
 
      uint32_t   timer_mode: 1
 
      uint32_t   __pad5__: 3
 
   } 
 
   uint32_t   asctrl
 
}; 
 
union {
   struct {
      uint32_t   __pad0__: 2
 
      uint32_t   external_trigger: 1
 
      uint32_t   req_src_interrupt: 1
 
      uint32_t   enable_auto_scan: 1
 
      uint32_t   load_mode: 1
 
      uint32_t   __pad1__: 26
 
   } 
 
   uint32_t   asmr
 
}; 
 

Detailed Description

Structure initializing the VADC scan request source. Use type XMC_VADC_SCAN_CONFIG_t for this structure.

Definition at line 837 of file xmc_vadc.h.

Member Data Documentation

◆ @52

union { ... }

◆ @54

union { ... }

◆ __pad0__

uint32_t XMC_VADC_SCAN_CONFIG::__pad0__

Definition at line 854 of file xmc_vadc.h.

◆ __pad1__

uint32_t XMC_VADC_SCAN_CONFIG::__pad1__

Definition at line 856 of file xmc_vadc.h.

◆ __pad2__

uint32_t XMC_VADC_SCAN_CONFIG::__pad2__

Definition at line 859 of file xmc_vadc.h.

◆ __pad3__

uint32_t XMC_VADC_SCAN_CONFIG::__pad3__

Definition at line 862 of file xmc_vadc.h.

◆ __pad4__

uint32_t XMC_VADC_SCAN_CONFIG::__pad4__

Definition at line 865 of file xmc_vadc.h.

◆ __pad5__

uint32_t XMC_VADC_SCAN_CONFIG::__pad5__

Definition at line 868 of file xmc_vadc.h.

◆ asctrl

uint32_t XMC_VADC_SCAN_CONFIG::asctrl

Definition at line 870 of file xmc_vadc.h.

Referenced by XMC_VADC_GLOBAL_BackgroundInit().

◆ asmr

uint32_t XMC_VADC_SCAN_CONFIG::asmr

Definition at line 884 of file xmc_vadc.h.

Referenced by XMC_VADC_GLOBAL_BackgroundInit().

◆ conv_start_mode

uint32_t XMC_VADC_SCAN_CONFIG::conv_start_mode

One converter is shared between the queue and scan request sources of the same group. This field determines how scan request source would request for conversion. Uses XMC_VADC_STARTMODE_t

Definition at line 839 of file xmc_vadc.h.

Referenced by L0_ADC_Config(), and XMC_VADC_GLOBAL_BackgroundInit().

◆ enable_auto_scan

uint32_t XMC_VADC_SCAN_CONFIG::enable_auto_scan

Enables the continuous conversion mode. Conversion completion of the last channel in a scan sequence will cause a load event.

Definition at line 879 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ external_trigger

uint32_t XMC_VADC_SCAN_CONFIG::external_trigger

Conversions be initiated by external hardware trigger

Definition at line 877 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ gate_signal

uint32_t XMC_VADC_SCAN_CONFIG::gate_signal

Select one of the 16 possibilities for gating. Uses XMC_VADC_GATE_INPUT_SELECT_t

Definition at line 863 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ load_mode

uint32_t XMC_VADC_SCAN_CONFIG::load_mode

Selects load event mode. Uses XMC_VADC_SCAN_LOAD_t

Definition at line 881 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ req_src_interrupt

uint32_t XMC_VADC_SCAN_CONFIG::req_src_interrupt

Request source event can be generated after a conversion sequence

Definition at line 878 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ req_src_priority

uint32_t XMC_VADC_SCAN_CONFIG::req_src_priority

Request source priority for the arbiter. If the Conversion start mode has been selected as Cancel inject repeat/Never mode then this field would determine the priority of scan request source. Uses XMC_VADC_GROUP_RS_PRIORITY_t

Definition at line 842 of file xmc_vadc.h.

Referenced by L0_ADC_Config(), and XMC_VADC_GLOBAL_BackgroundInit().

◆ timer_mode

uint32_t XMC_VADC_SCAN_CONFIG::timer_mode

Decides whether timer mode for equi-distant sampling shall be activated or not.

Definition at line 866 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ trigger_edge

uint32_t XMC_VADC_SCAN_CONFIG::trigger_edge

Edge selection for trigger signal. Uses XMC_VADC_TRIGGER_EDGE_t

Definition at line 860 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ trigger_signal

uint32_t XMC_VADC_SCAN_CONFIG::trigger_signal

Select one of the 16 possibilities for trigger. Uses XMC_VADC_TRIGGER_INPUT_SELECT_t enumeration

Definition at line 857 of file xmc_vadc.h.

Referenced by L0_ADC_Config().


The documentation for this struct was generated from the following file: